package com.health.db.service.msg.impl;

import java.util.List;

import com.health.db.dao.msg.IHospitalSpecimenDao;
import com.health.db.dao.msg.IHospitalSpecimenDetailDao;
import com.health.db.model.HospitalSpecimen;
import com.health.db.model.HospitalSpecimenDetail;
import com.health.db.model.HospitalSpecimenDetailExample;
import com.health.db.model.HospitalSpecimenExample;
import com.health.db.service.msg.IHospitalSpecimenService;

public class HospitalSpecimenServiceImpl implements IHospitalSpecimenService {
    
    private IHospitalSpecimenDao hospitalSpecimenDao;
    
    private IHospitalSpecimenDetailDao hospitalSpecimenDetailDao;

	@Override
	public long countByExample(HospitalSpecimenExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDao.countByExample(example);
	}

	@Override
	public int insert(HospitalSpecimen record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDao.insert(record);
	}

	@Override
	public int insertSelective(HospitalSpecimen record) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDao.insertSelective(record);
	}

	@Override
	public List<HospitalSpecimen> selectByExample(
			HospitalSpecimenExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDao.selectByExample(example);
	}

	@Override
	public long countByExample(HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.countByExample(example);
	}

	@Override
	public List<HospitalSpecimenDetail> selectByExample(
			HospitalSpecimenDetailExample example) {
		// TODO Auto-generated method stub
		return hospitalSpecimenDetailDao.selectByExample(example);
	}

	public IHospitalSpecimenDetailDao getHospitalSpecimenDetailDao() {
		return hospitalSpecimenDetailDao;
	}

	public void setHospitalSpecimenDetailDao(
			IHospitalSpecimenDetailDao hospitalSpecimenDetailDao) {
		this.hospitalSpecimenDetailDao = hospitalSpecimenDetailDao;
	}

	public IHospitalSpecimenDao getHospitalSpecimenDao() {
		return hospitalSpecimenDao;
	}

	public void setHospitalSpecimenDao(IHospitalSpecimenDao hospitalSpecimenDao) {
		this.hospitalSpecimenDao = hospitalSpecimenDao;
	}
	
}